package com.eurabia.eggchat.service;

import java.util.List;
import com.github.pagehelper.Page;
import com.eurabia.eggchat.pojo.SysEggchatUserReply;
import com.eurabia.eggchat.pojo.form.SysEggchatUserReplyForm;
import com.eurabia.eggchat.pojo.query.SysEggchatUserReplyQuery;

/**
 * SysEggchatUserReplyService 
 */
public interface SysEggchatUserReplyService {

    /**
     * 查询 SysEggchatUserReply
     */
    List<SysEggchatUserReply> find(final SysEggchatUserReplyQuery query);
    
    /**
     * 分页查询 SysEggchatUserReply
     */
    Page<SysEggchatUserReply> findByPage(final SysEggchatUserReplyQuery query);

    /**
     * 通过id得到一个 SysEggchatUserReply
     */
    SysEggchatUserReply get(final String id);
    
    /**
     * 新增 SysEggchatUserReply
     */
    void add(final SysEggchatUserReplyForm form);

    /**
     * 修改 SysEggchatUserReply
     */
    int update(final SysEggchatUserReplyForm form);
    
    /**
     * 删除一个 SysEggchatUserReply
     */
    int delete(final String id);
	
	/**
     * 修改是否可用
     */
    int changeEnabled(final String id, final Integer enabled);
}